package com.gdit.zax.entitys;

import java.sql.Timestamp;

public class BaseEntity {
	private String name;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
	
	private int id;
	private Timestamp addtime;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getAddtime() {
		return addtime.toString().replace(".0", "");
	}
	public void setAddtime(Timestamp addtime) {
		this.addtime = addtime;
	}
}
